package com.banmao.mall.mapper;

import com.banmao.mall.model.pojo.Storage;

import java.util.List;

public interface StorageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Storage record);

    int insertSelective(Storage record);

    Storage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Storage record);

    int updateByPrimaryKey(Storage record);

    List<Storage> selectStorageList(Integer page, Integer limit, String sort, String order, String key, String name);

    Integer selectStorageTotal(Integer page, Integer limit, String sort, String order, String key, String name);
}